﻿<Serializable()> _
Public Class EcliApoderado

#Region "           Atributos                       "
    Private _idProyecto As Int32
    Private _idEtapa As Int32
    Private _idSeparacionVenta As Int32
    Private _idCliente As Int32
    Private _Ecliente As Ecliente
    Private _idTpoCiente As Int32
    Private _telefonouno As String
    Private _telefonodos As String
    Private _idOcupacion As Int32
    Private _Eocupacion As Eocupacion
#End Region

#Region "           Propiedades                     "
    Public Property idProyecto() As Int32
        Get
            Return _idProyecto
        End Get
        Set(ByVal value As Int32)
            _idProyecto = value
        End Set
    End Property
    Public Property idEtapa() As Int32
        Get
            Return _idEtapa
        End Get
        Set(ByVal value As Int32)
            _idEtapa = value
        End Set
    End Property
    Public Property idSeparacionVenta() As Int32
        Get
            Return _idSeparacionVenta
        End Get
        Set(ByVal value As Int32)
            _idSeparacionVenta = value
        End Set
    End Property
    Public Property idCliente() As Int32
        Get
            Return _idCliente
        End Get
        Set(ByVal value As Int32)
            _idCliente = value
        End Set
    End Property
    Public Property Ecliente() As Ecliente
        Get
            Return _Ecliente
        End Get
        Set(ByVal value As Ecliente)
            _Ecliente = value
        End Set
    End Property
    Public Property idTpoCliente() As Int32
        Get
            Return _idTpoCiente
        End Get
        Set(ByVal value As Int32)
            _idTpoCiente = value
        End Set
    End Property
    Public Property telefonouno() As String
        Get
            Return _telefonouno
        End Get
        Set(ByVal value As String)
            _telefonouno = value
        End Set
    End Property
    Public Property telefonodos() As String
        Get
            Return _telefonodos
        End Get
        Set(ByVal value As String)
            _telefonodos = value
        End Set
    End Property
    Public Property idOcupacion() As Int32
        Get
            Return _idOcupacion
        End Get
        Set(ByVal value As Int32)
            _idOcupacion = value
        End Set
    End Property
    Public Property Eocupacion() As Eocupacion
        Get
            Return _Eocupacion
        End Get
        Set(ByVal value As Eocupacion)
            _Eocupacion = value
        End Set
    End Property
#End Region

#Region "           Propiedades Avanzadas           "

#End Region

#Region "           Contructores                    "
    Public Sub New()

    End Sub
    Public Sub New(ByVal idCliente As Int32, ByVal idTpoDcmto As Int32, ByVal nroDocumento As String, ByVal edad As Int32, _
                   ByVal nombre As String, ByVal apePaterno As String, ByVal apeMaterno As String, _
                   ByVal nacionalidad As String, ByVal email As String, ByVal telefonoFijo As String, _
                   ByVal telefonouno As String, ByVal telefonodos As String, ByVal idOcupacion As Int32)
        _Ecliente = New Ecliente
        With _Ecliente
            .EtpoDcmto = New EtpoDcmto
            .EtpoDcmto.idTpoDcmto = idTpoDcmto
            .nroDocumento = nroDocumento
            .edad = edad
            .nombre = nombre
            .apePaterno = apePaterno
            .apeMaterno = apeMaterno
            .nacionalidad = nacionalidad
            .email = email
            .telefonoFijo = telefonoFijo
            .telefonoLaboral = telefonouno
            .telefonoLaboral2 = telefonodos
            .Eocupacion = New Eocupacion
            .Eocupacion.idOcupacion = idOcupacion
        End With
    End Sub

#End Region
End Class
